#ifndef CNT
#define CNT

//#include "stm32f10x.h"
#include "spi.h"
#include "main.h"


uint8_t show_row_column(uint8_t row,uint8_t column);

uint8_t show_num(uint8_t num,uint8_t x,uint8_t y,uint8_t delay);
uint8_t close_sector(uint8_t row1,uint8_t row2,uint8_t column1,uint8_t column2);
uint8_t show_sector(uint8_t row1,uint8_t row2,uint8_t column1,uint8_t column2,uint8_t R,uint8_t G,uint8_t B);
void lamp_line(uint8_t minute,uint16_t second);
#endif